package xkp.lesson.entity;

public class UserInfo {
    private Integer userId;
    private String userName;
    private String userPwd;
    private Integer userAge;
    private String userSex;
    private String telPhone;

    public UserInfo() {
    }

    public UserInfo(Integer userId, String userName, String userPwd,
                    Integer userAge, String userSex, String telPhone) {
        this.userId = userId;
        this.userName = userName;
        this.userPwd = userPwd;
        this.userAge = userAge;
        this.userSex = userSex;
        this.telPhone = telPhone;
    }

    /*public static void main(String[] args) {
        Integer num1 = 200;
        Integer num2 = Integer.valueOf(200);
        System.out.println(num1 == num2);
    }*/

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userAge=" + userAge +
                ", userSex='" + userSex + '\'' +
                ", telPhone='" + telPhone + '\'' +
                '}';
    }
}
